<?php 
	
	if( isset($_SESSION['user']) && $_SESSION['user'] != "" ){
	
		switch( $page ){
			case 'roster':
				switch( $module ){
					case 'add_roster':
						$current_page = 'includes/content_roster_add.php';
						break;
					case 'edt_roster':
						$current_page = 'includes/content_roster_edt.php';
						break;
					default:
						$current_page = 'includes/content_roster.php';
				}
				break;
			case 'management':
				switch( $module ){
					case 'add_job':
						$current_page = 'includes/content_job_add.php';
						break;
					case 'edt_job':
						$current_page = 'includes/content_job_edt.php';
						break;
					case 'add_employee':
						$current_page = 'includes/content_employee_add.php';
						break;
					case 'edt_employee':
						$current_page = 'includes/content_employee_edt.php';
						break;
					case 'add_unit':
						$current_page = 'includes/content_unit_add.php';
						break;
					case 'edt_unit':
						$current_page = 'includes/content_unit_edt.php';
						break;
					default:
						$current_page = 'includes/content_management.php';
				}
				break;
			case 'start':
			default:
				$current_page = 'includes/content_start.php';
		}
		
	}else{
		$current_page = 'includes/content_start.php';
	}	
	
	include $current_page;
?>